home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / TicObject.m < prev    next >
Encoding:
Text File  |  1993-03-18  |  653 b   |  51 lines

  1.  
  2. static char RCSId[]="$Id: TicObject.m,v 1.1.1.1 1993/03/18 03:36:28 davis Exp $";
  3.  
  4.  
  5.  
  6. #import "TicObject.h"
  7.  
  8.  
  9. @implementation TicObject
  10.  
  11.  
  12. /* Overrides SubObjects initFromString: */
  13. - initFromString:(const char *)aString
  14. {
  15.     return nil;
  16. }
  17.  
  18.  
  19. - initFromString:(const char *)aString doubleValue:(double)aDouble
  20. {
  21.     [super init];
  22.  
  23.     [self setStringValue:aString];
  24.     [self setDoubleValue:aDouble];
  25.  
  26.     return self;
  27. }
  28.  
  29.  
  30. - setDoubleValue:(double)aDouble
  31. {
  32.     doubleValue = aDouble;
  33.     return self;
  34. }
  35.  
  36.  
  37. - (double)doubleValue
  38. {
  39.     return doubleValue;
  40. }
  41.  
  42.  
  43. // Shuts up the compiler about unused RCSId
  44. - (const char *) rcsid
  45. {
  46.     return RCSId;
  47. }
  48.  
  49.  
  50. @end
  51.